package 抽象类GeometricFigure及其子类;

public abstract class GeometricFigure {
    public abstract double getArea();
    public abstract double getPerimeter();
}